package design._18_observer;

/**
 * 具体目标类
 * @author nrzt
 *
 */
public class ConcreteSubject extends Subject {

	@Override
	public void notifyObserver() {
		//遍历观察者集合，调用每一个观察者的响
		for(Object obs:super.observers) {
			((Observer)obs).update();
		}
	}

	
}


